(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;bb?null:"string"===typeof a?a.charAt(b):a[b]}function Da(a,b){for(var c=1;ca.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(f)))}}return b}var Ea={};var Ma=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Na(a,b){return ab?1:0};var F;a:{var Oa=m.navigator;if(Oa){var Pa=Oa.userAgent;if(Pa){F=Pa;break a}}F=""}function G(a){return-1!=F.indexOf(a)};function Qa(a,b){for(var c in a)b.call(void 0,a[c],c,a)}var Ra="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Sa(a,b){for(var c,d,e=1;eparseFloat(bb)){ab=String(H);break a}}ab=bb}var eb=ab,Va={}; function fb(){return Ua(function(){for(var a=0,b=Ma(String(eb)).split("."),c=Ma("11").split("."),d=Math.max(b.length,c.length),e=0;0==a&&ea.b&&(a.b++,b.next=a.a,a.a=b)};function lb(a){m.setTimeout(function(){throw a;},0)}var mb; function nb(){var a=m.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!G("Presto")&&(a=function(){var e=ib("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),h="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=r(function(k){if(("*"==h||k.origin==h)&&k.data==f)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,h)}}});if("undefined"!==typeof a&&!G("Trident")&&!G("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.A;c.A=null;e()}};return function(e){d.next={A:e};d=d.next;b.port2.postMessage(0)}}return function(e){m.setTimeout(e,0)}};function ob(){this.b=this.a=null}var qb=new jb(function(){return new pb},function(a){a.reset()});ob.prototype.add=function(a,b){var c=qb.get();c.set(a,b);this.b?this.b.next=c:this.a=c;this.b=c};function rb(){var a=sb,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.b=null),b.next=null);return b}function pb(){this.next=this.b=this.a=null}pb.prototype.set=function(a,b){this.a=a;this.b=b;this.next=null};pb.prototype.reset=function(){this.next=this.b=this.a=null};function tb(a,b){I||ub();vb||(I(),vb=!0);sb.add(a,b)}var I;function ub(){if(m.Promise&&m.Promise.resolve){var a=m.Promise.resolve(void 0);I=function(){a.then(wb)}}else I=function(){var b=wb;!q(m.setImmediate)||m.Window&&m.Window.prototype&&!G("Edge")&&m.Window.prototype.setImmediate==m.setImmediate?(mb||(mb=nb()),mb(b)):m.setImmediate(b)}}var vb=!1,sb=new ob;function wb(){for(var a;a=rb();){try{a.a.call(a.b)}catch(b){lb(b)}kb(qb,a)}vb=!1};function xb(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function J(a){this.a=0;this.i=void 0;this.f=this.b=this.c=null;this.g=this.h=!1;if(a!=n)try{var b=this;a.call(void 0,function(c){K(b,2,c)},function(c){K(b,3,c)})}catch(c){K(this,3,c)}}function yb(){this.next=this.c=this.b=this.f=this.a=null;this.g=!1}yb.prototype.reset=function(){this.c=this.b=this.f=this.a=null;this.g=!1};var zb=new jb(function(){return new yb},function(a){a.reset()});function Ab(a,b,c){var d=zb.get();d.f=a;d.b=b;d.c=c;return d} J.prototype.then=function(a,b,c){return Bb(this,q(a)?a:null,q(b)?b:null,c)};J.prototype.$goog_Thenable=!0;J.prototype.cancel=function(a){if(0==this.a){var b=new L(a);tb(function(){Cb(this,b)},this)}};function Cb(a,b){if(0==a.a)if(a.c){var c=a.c;if(c.b){for(var d=0,e=null,g=null,f=c.b;f&&(f.g||(d++,f.a==a&&(e=f),!(e&&1=b.j&&b.cancel())}this.u?this.u.call(this.s,this):this.l=!0;this.a||(a=new N(this),O(this),P(this,!1,a))}};M.prototype.m=function(a,b){this.i=!1;P(this,a,b)};function P(a,b,c){a.a=!0;a.c=c;a.f=!b;Lb(a)} function O(a){if(a.a){if(!a.l)throw new Q(a);a.l=!1}}function R(a,b,c,d){a.g.push([b,c,d]);a.a&&Lb(a);return a}M.prototype.then=function(a,b,c){var d,e,g=new J(function(f,h){d=f;e=h});R(this,d,function(f){f instanceof N?g.cancel():e(f)});return g.then(a,b,c)};M.prototype.$goog_Thenable=!0;function Mb(a){return Ba(a.g,function(b){return q(b[1])})} function Lb(a){if(a.h&&a.a&&Mb(a)){var b=a.h,c=S[b];c&&(m.clearTimeout(c.a),delete S[b]);a.h=0}a.b&&(a.b.j--,delete a.b);b=a.c;for(var d=c=!1;a.g.length&&!a.i;){var e=a.g.shift(),g=e[0],f=e[1];e=e[2];if(g=a.f?f:g)try{var h=g.call(e||a.s,b);void 0!==h&&(a.f=a.f&&(h==b||h instanceof Error),a.c=b=h);if(xb(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=!0,a.i=!0}catch(k){b=k,a.f=!0,Mb(a)||(c=!0)}}a.c=b;d&&(h=r(a.m,a,!0),d=r(a.m,a,!1),b instanceof M?(R(b,h,d),b.K=!0):b.then(h,d));c&&(b=new Nb(b), S[b.a]=b,a.h=b.a)}function Ob(){var a=new M;O(a);P(a,!0,null);return a}function Q(){w.call(this)}v(Q,w);Q.prototype.message="Deferred has already fired";Q.prototype.name="AlreadyCalledError";function N(){w.call(this)}v(N,w);N.prototype.message="Deferred was canceled";N.prototype.name="CanceledError";function Nb(a){this.a=m.setTimeout(r(this.c,this),0);this.b=a}Nb.prototype.c=function(){delete S[this.a];throw this.b;};var S={};var Pb,Qb=[];function Rb(a,b){function c(){var e=a.shift();e=Sb(e,b);a.length&&R(e,c,c,void 0);return e}if(!a.length)return Ob();var d=Qb.length;Da(Qb,a);if(d)return Pb;a=Qb;return Pb=c()} function Sb(a,b){var c=b||{};b=c.document||document;var d=E(a).toString(),e=ib("SCRIPT"),g={H:e,I:void 0},f=new M(Tb,g),h=null,k=null!=c.timeout?c.timeout:5E3;0